//
//  NetworkTooler.h
//  work
//
//  Created by 方伟 on 16/6/1.
//  Copyright © 2016年 方伟. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol NetworkToolerDelegate <NSObject>

- (void)returnData:(id)data;
- (void)returnRequestError:(NSError *)error;
- (void)returnMsg:(NSString *)Msg;


@end

@interface NetworkTooler : NSObject


@property (nonatomic, assign)id<NetworkToolerDelegate>delegate;

-(void) parameters:(NSDictionary *)parameters withURL:(NSString *)URL withIsPaparameters:(BOOL)isPaparameters;
-(BOOL)isConectNet;

@end
